Optimal. Leaf size=100 \[ \frac {10 \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {b \sec (c+d x)}}{21 b^3 d}+\frac {10 (b \sec (c+d x))^{3/2} \sin (c+d x)}{21 b^4 d}+\frac {2 (b \sec (c+d x))^{7/2} \sin (c+d x)}{7 b^6 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 100, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {16, 3853, 3856,
2720} \begin {gather*} \frac {2 \sin (c+d x) (b \sec (c+d x))^{7/2}}{7 b^6 d}+\frac {10 \sin (c+d x) (b \sec (c+d x))^{3/2}}{21 b^4 d}+\frac {10 \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {b \sec (c+d x)}}{21 b^3 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 2720
Rule 3853
Rule 3856
Rubi steps
\begin {align*} \int \frac {\sec ^7(c+d x)}{(b \sec (c+d x))^{5/2}} \, dx &=\frac {\int (b \sec (c+d x))^{9/2} \, dx}{b^7}\\ &=\frac {2 (b \sec (c+d x))^{7/2} \sin (c+d x)}{7 b^6 d}+\frac {5 \int (b \sec (c+d x))^{5/2} \, dx}{7 b^5}\\ &=\frac {10 (b \sec (c+d x))^{3/2} \sin (c+d x)}{21 b^4 d}+\frac {2 (b \sec (c+d x))^{7/2} \sin (c+d x)}{7 b^6 d}+\frac {5 \int \sqrt {b \sec (c+d x)} \, dx}{21 b^3}\\ &=\frac {10 (b \sec (c+d x))^{3/2} \sin (c+d x)}{21 b^4 d}+\frac {2 (b \sec (c+d x))^{7/2} \sin (c+d x)}{7 b^6 d}+\frac {\left (5 \sqrt {\cos (c+d x)} \sqrt {b \sec (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{21 b^3}\\ &=\frac {10 \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {b \sec (c+d x)}}{21 b^3 d}+\frac {10 (b \sec (c+d x))^{3/2} \sin (c+d x)}{21 b^4 d}+\frac {2 (b \sec (c+d x))^{7/2} \sin (c+d x)}{7 b^6 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.22, size = 64, normalized size = 0.64 \begin {gather*} \frac {(b \sec (c+d x))^{5/2} \left (10 \cos ^{\frac {5}{2}}(c+d x) F\left (\left .\frac {1}{2} (c+d x)\right |2\right )+5 \sin (2 (c+d x))+6 \tan (c+d x)\right )}{21 b^5 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 52.51, size = 152, normalized size = 1.52
method | result | size |
default | \(-\frac {2 \left (\cos \left (d x +c \right )+1\right )^{2} \left (\cos \left (d x +c \right )-1\right ) \left (5 i \left (\cos ^{3}\left (d x +c \right )\right ) \sin \left (d x +c \right ) \sqrt {\frac {1}{\cos \left (d x +c \right )+1}}\, \sqrt {\frac {\cos \left (d x +c \right )}{\cos \left (d x +c \right )+1}}\, \EllipticF \left (\frac {i \left (\cos \left (d x +c \right )-1\right )}{\sin \left (d x +c \right )}, i\right )-5 \left (\cos ^{3}\left (d x +c \right )\right )+5 \left (\cos ^{2}\left (d x +c \right )\right )-3 \cos \left (d x +c \right )+3\right )}{21 d \sin \left (d x +c \right )^{3} \left (\frac {b}{\cos \left (d x +c \right )}\right )^{\frac {5}{2}} \cos \left (d x +c \right )^{6}}\) | \(152\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.65, size = 117, normalized size = 1.17 \begin {gather*} \frac {-5 i \, \sqrt {2} \sqrt {b} \cos \left (d x + c\right )^{3} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) + i \, \sin \left (d x + c\right )\right ) + 5 i \, \sqrt {2} \sqrt {b} \cos \left (d x + c\right )^{3} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) - i \, \sin \left (d x + c\right )\right ) + 2 \, {\left (5 \, \cos \left (d x + c\right )^{2} + 3\right )} \sqrt {\frac {b}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{21 \, b^{3} d \cos \left (d x + c\right )^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sec ^{7}{\left (c + d x \right )}}{\left (b \sec {\left (c + d x \right )}\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{{\cos \left (c+d\,x\right )}^7\,{\left (\frac {b}{\cos \left (c+d\,x\right )}\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________